package com.itheima.pojo;

import com.sun.xml.internal.ws.api.model.wsdl.WSDLOutput;

public class Teacher {
    private int id;
    private String name;
    private Student student;

    public void setId(int id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setStudent(Student student) {
        this.student = student;
    }

    @Override
    public String toString() {
        return "Teacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", student=" + student +
                '}';
    }
}
